/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pack01primitives;

/**
 *
 * @author Alexander
 */
public class PrimitiveCasting
{
    public static void main(String[] args)
    {
        int x = 5;
        double y = 5;
        
        //Needs explicit cast
        x = (int) y;
        
        //implicit cast
        y = x;
        
        
        
        
        
    }
}
